package com.hzhr.iot.device.model.collectDevice;


import com.hzhr.iot.core.annotation.CygModel;
import com.hzhr.iot.core.annotation.CygProperty;
import com.hzhr.iot.device.entity.CollectDeviceEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "CollectDeviceModel", description = "采集设备模型")
@CygModel(entity = CollectDeviceEntity.class)
public class CollectDeviceModel {
    @ApiModelProperty(value = "说明 : 编号", required = true)
    @CygProperty(show = "", entityProp = "id")
    private Integer id;

    @ApiModelProperty(value = "说明 : 设备代码(show_info=true时展示)", required = true)
    @CygProperty(show = "_show_info", entityProp = "code")
    private String code;
    @ApiModelProperty(value = "说明 : 设备描述(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "des")
    private String des;
    @ApiModelProperty(value = "说明 : 设备种类代码(show_info=true时展示; 关联: device_service.options.code, typeCode = 'DEVICE_CATEGORY')", required = true)
    @CygProperty(show = "_show_info", entityProp = "categoryCode")
    private String categoryCode;
    @ApiModelProperty(value = "说明 : 设备型号编号(show_info=true时展示; 关联: device_service.deviceType.id)")
    @CygProperty(show = "_show_info", entityProp = "typeId")
    private Integer typeId;
    @ApiModelProperty(value = "说明 : 所属公司编号(show_info=true时展示; 关联: user_service.company.id)", required = true)
    @CygProperty(show = "_show_info", entityProp = "companyId")
    private Integer companyId;
    @ApiModelProperty(value = "说明 : 所属部门编号(show_info=true时展示; 关联: user_service.dept.id)", required = true)
    @CygProperty(show = "_show_info", entityProp = "deptId")
    private Integer deptId;
    @ApiModelProperty(value = "说明 : 所属部门代码(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "deptCode")
    private String deptCode;
    @ApiModelProperty(value = "说明 : 燃气用户编号(show_info=true时展示; 关联: toll_service.dept.id)", required = true)
    @CygProperty(show = "_show_info", entityProp = "gasUserId")
    private Integer gasUserId;
    @ApiModelProperty(value = "说明 : 所属物联网设备编号(show_info=true时展示; 关联: device_service.iotDevice.id)")
    @CygProperty(show = "_show_info", entityProp = "iotDeviceId")
    private Integer iotDeviceId;
    @ApiModelProperty(value = "说明 : 所属物联网设备编号(show_info=true时展示; 关联: device_service.options.code, typeName = 'PRESSURE_UNIT')")
    @CygProperty(show = "_show_info", entityProp = "pressureUnit")
    private String pressureUnit;
    @ApiModelProperty(value = "说明 : 所属物联网设备编号(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "pressureUnitExt_des")
    private String pressureUnitDes;
    @ApiModelProperty(value = "说明 : 当前读数(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "currentReading")
    private Double currentReading;
    @ApiModelProperty(value = "说明 : 当前阀门状态代码(show_info=true时展示; 关联: device_service.options.code, typeName = 'VALVE_STATUS')")
    @CygProperty(show = "_show_info", entityProp = "currentValveStatusCode")
    private String currentValveStatusCode;
    @ApiModelProperty(value = "说明 : 当前阀门状态描述(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "currentValveStatusExt_name")
    private String currentValveStatusDes;
    @ApiModelProperty(value = "说明 : 当前电池电压(show_info=true时展示)")
    @CygProperty(show = "_show_info", entityProp = "currentCellVoltage")
    private Float currentCellVoltage;
    @ApiModelProperty(value = "说明 : 最近采集时间(show_info=true时展示; 毫秒级时间戳)")
    @CygProperty(show = "_show_info", entityProp = "lastCollectTime")
    private Long lastCollectTime;
    @ApiModelProperty(value = "说明 : 创建时间(show_info=true时展示; 毫秒级时间戳)")
    @CygProperty(show = "_show_info", entityProp = "createTime")
    private Long createTime;

    @ApiModelProperty(value = "说明 : 设备型号描述(show_type=true时展示)")
    @CygProperty(show = "_show_type", entityProp = "typeExt_des")
    private String typeDes;
    @ApiModelProperty(value = "说明 : 生产厂家编号(show_type=true时展示)")
    @CygProperty(show = "_show_type", entityProp = "typeExt_prodFactoryId")
    private Integer prodFactoryId;
    @ApiModelProperty(value = "说明 : 生产厂家描述(show_type=true时展示)")
    @CygProperty(show = "_show_type", entityProp = "typeExt_prodFactoryExt_des")
    private String prodFactoryDes;
    @ApiModelProperty(value = "说明 : 生产厂家的所属物联网设备公司编号(show_type=true时展示)")
    @CygProperty(show = "_show_type", entityProp = "typeExt_prodFactoryExt_iotCompanyId")
    private Integer prodFactoryIotCompanyId;

    @ApiModelProperty(value = "说明 : 所属物联网设备编号(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_code")
    private String iotDeviceCode;
    @ApiModelProperty(value = "说明 : 所属物联网设备描述(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_des")
    private String iotDeviceDes;
    @ApiModelProperty(value = "说明 : 所属物联网设备型号编号(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_typeId")
    private String iotDeviceTypeId;
    @ApiModelProperty(value = "说明 : 所属物联网设备型号描述(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_typeExt_des")
    private String iotDeviceTypeDes;
    @ApiModelProperty(value = "说明 : 所属物联网设备的sim卡号(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_simNo")
    private String iotDeviceSimNo;
    @ApiModelProperty(value = "说明 : 所属物联网设备的经度(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_longitude")
    private Double iotDeviceLongitude;
    @ApiModelProperty(value = "说明 : 所属物联网设备的纬度(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_latitude")
    private Double iotDeviceLatitude;
    @ApiModelProperty(value = "说明 : 所属物联网设备的sim卡类型代码(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_simTypeCode")
    private String iotDeviceSimTypeCode;
    @ApiModelProperty(value = "说明 : 所属物联网设备的sim卡类型描述(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_simTypeExt_des")
    private String iotDeviceSimTypeDes;
    @ApiModelProperty(value = "说明 : 所属物联网设备的公司名称(show_iotDevice=true时展示)")
    @CygProperty(show = "_show_iotDevice", entityProp = "iotDeviceExt_companyExt_name")
    private String iotDeviceCompanyName;

    @ApiModelProperty(value = "说明 : 燃气用户代码(show_gasUser=true时展示)", required = true)
    @CygProperty(show = "_show_gasUser", entityProp = "gasUserCode")
    private String gasUserCode;
    @ApiModelProperty(value = "说明 : 燃气用户名称(show_gasUser=true时展示)", required = true)
    @CygProperty(show = "_show_gasUser", entityProp = "gasUserName")
    private String gasUserName;
    @ApiModelProperty(value = "说明 : 燃气用户地址(show_gasUser=true时展示)")
    @CygProperty(show = "_show_gasUser", entityProp = "gasUserAddress")
    private String gasUserAddress;

    @ApiModelProperty(value = "说明 : 总用气量(show_gasConsume=true时展示)")
    @CygProperty(show = "_show_gasConsume", entityProp = "gasConsume")
    private Double gasConsume;

    @ApiModelProperty(value = "说明 : 总报警数(show_alarmCount=true时展示)")
    @CygProperty(show = "_show_alarmCount", entityProp = "alarmCount")
    private Integer alarmCount;

    @ApiModelProperty(value = "说明 : 管理站名称(show_dept=true时展示)")
    @CygProperty(show = "_show_dept", entityProp = "")
    private String managementName;
    @ApiModelProperty(value = "说明 : 分公司名称(show_dept=true时展示)")
    @CygProperty(show = "_show_dept", entityProp = "")
    private String subCompanyName;

    @ApiModelProperty(value = "说明 : 外部系统唯一键(show_outId=true时展示)")
    @CygProperty(show = "_show_outId", entityProp = "outId")
    private String outId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getGasUserId() {
        return gasUserId;
    }

    public void setGasUserId(Integer gasUserId) {
        this.gasUserId = gasUserId;
    }

    public Integer getIotDeviceId() {
        return iotDeviceId;
    }

    public void setIotDeviceId(Integer iotDeviceId) {
        this.iotDeviceId = iotDeviceId;
    }

    public Double getCurrentReading() {
        return currentReading;
    }

    public void setCurrentReading(Double currentReading) {
        this.currentReading = currentReading;
    }

    public String getCurrentValveStatusCode() {
        return currentValveStatusCode;
    }

    public void setCurrentValveStatusCode(String currentValveStatusCode) {
        this.currentValveStatusCode = currentValveStatusCode;
    }

    public Float getCurrentCellVoltage() {
        return currentCellVoltage;
    }

    public void setCurrentCellVoltage(Float currentCellVoltage) {
        this.currentCellVoltage = currentCellVoltage;
    }

    public Long getLastCollectTime() {
        return lastCollectTime;
    }

    public void setLastCollectTime(Long lastCollectTime) {
        this.lastCollectTime = lastCollectTime;
    }

    public String getGasUserCode() {
        return gasUserCode;
    }

    public void setGasUserCode(String gasUserCode) {
        this.gasUserCode = gasUserCode;
    }

    public String getGasUserName() {
        return gasUserName;
    }

    public void setGasUserName(String gasUserName) {
        this.gasUserName = gasUserName;
    }

    public String getGasUserAddress() {
        return gasUserAddress;
    }

    public void setGasUserAddress(String gasUserAddress) {
        this.gasUserAddress = gasUserAddress;
    }

    public String getIotDeviceCode() {
        return iotDeviceCode;
    }

    public void setIotDeviceCode(String iotDeviceCode) {
        this.iotDeviceCode = iotDeviceCode;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public String getTypeDes() {
        return typeDes;
    }

    public void setTypeDes(String typeDes) {
        this.typeDes = typeDes;
    }

    public Integer getProdFactoryId() {
        return prodFactoryId;
    }

    public void setProdFactoryId(Integer prodFactoryId) {
        this.prodFactoryId = prodFactoryId;
    }

    public String getProdFactoryDes() {
        return prodFactoryDes;
    }

    public void setProdFactoryDes(String prodFactoryDes) {
        this.prodFactoryDes = prodFactoryDes;
    }

    public String getCurrentValveStatusDes() {
        return currentValveStatusDes;
    }

    public void setCurrentValveStatusDes(String currentValveStatusDes) {
        this.currentValveStatusDes = currentValveStatusDes;
    }

    public String getIotDeviceDes() {
        return iotDeviceDes;
    }

    public void setIotDeviceDes(String iotDeviceDes) {
        this.iotDeviceDes = iotDeviceDes;
    }

    public String getIotDeviceSimNo() {
        return iotDeviceSimNo;
    }

    public void setIotDeviceSimNo(String iotDeviceSimNo) {
        this.iotDeviceSimNo = iotDeviceSimNo;
    }

    public String getIotDeviceSimTypeCode() {
        return iotDeviceSimTypeCode;
    }

    public void setIotDeviceSimTypeCode(String iotDeviceSimTypeCode) {
        this.iotDeviceSimTypeCode = iotDeviceSimTypeCode;
    }

    public String getIotDeviceSimTypeDes() {
        return iotDeviceSimTypeDes;
    }

    public void setIotDeviceSimTypeDes(String iotDeviceSimTypeDes) {
        this.iotDeviceSimTypeDes = iotDeviceSimTypeDes;
    }

    public Double getGasConsume() {
        return gasConsume;
    }

    public void setGasConsume(Double gasConsume) {
        this.gasConsume = gasConsume;
    }

    public Integer getAlarmCount() {
        return alarmCount;
    }

    public void setAlarmCount(Integer alarmCount) {
        this.alarmCount = alarmCount;
    }

    public String getPressureUnit() {
        return pressureUnit;
    }

    public void setPressureUnit(String pressureUnit) {
        this.pressureUnit = pressureUnit;
    }

    public String getPressureUnitDes() {
        return pressureUnitDes;
    }

    public void setPressureUnitDes(String pressureUnitDes) {
        this.pressureUnitDes = pressureUnitDes;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getManagementName() {
        return managementName;
    }

    public void setManagementName(String managementName) {
        this.managementName = managementName;
    }

    public String getSubCompanyName() {
        return subCompanyName;
    }

    public void setSubCompanyName(String subCompanyName) {
        this.subCompanyName = subCompanyName;
    }

    public Double getIotDeviceLongitude() {
        return iotDeviceLongitude;
    }

    public void setIotDeviceLongitude(Double iotDeviceLongitude) {
        this.iotDeviceLongitude = iotDeviceLongitude;
    }

    public Double getIotDeviceLatitude() {
        return iotDeviceLatitude;
    }

    public void setIotDeviceLatitude(Double iotDeviceLatitude) {
        this.iotDeviceLatitude = iotDeviceLatitude;
    }

    public String getIotDeviceTypeId() {
        return iotDeviceTypeId;
    }

    public void setIotDeviceTypeId(String iotDeviceTypeId) {
        this.iotDeviceTypeId = iotDeviceTypeId;
    }

    public String getIotDeviceTypeDes() {
        return iotDeviceTypeDes;
    }

    public void setIotDeviceTypeDes(String iotDeviceTypeDes) {
        this.iotDeviceTypeDes = iotDeviceTypeDes;
    }

    public String getIotDeviceCompanyName() {
        return iotDeviceCompanyName;
    }

    public void setIotDeviceCompanyName(String iotDeviceCompanyName) {
        this.iotDeviceCompanyName = iotDeviceCompanyName;
    }

    public Integer getProdFactoryIotCompanyId() {
        return prodFactoryIotCompanyId;
    }

    public void setProdFactoryIotCompanyId(Integer prodFactoryIotCompanyId) {
        this.prodFactoryIotCompanyId = prodFactoryIotCompanyId;
    }

    public String getOutId() {
        return outId;
    }

    public void setOutId(String outId) {
        this.outId = outId;
    }
}